Fix typo in KML writer that resulted in entities not being correctly escaped.
authorrobertl <robertl>
Thu, 5 Oct 2006 13:25:31 +0000 (13:25 +0000)
committerrobertl <robertl>
Thu, 5 Oct 2006 13:25:31 +0000 (13:25 +0000)
kml.c

diff --git a/kml.c b/kml.c
index 6b1d97c65425454646879b50309b2b7455d5fb8d..2efdbb89ea12e91f00178a7ba53f4abb6338446f 100644 (file)
--- a/kml.c
+++ b/kml.c
@@ -313,7 +313,7 @@ kml_write_xmle(const char *tag, const char *v)
                for (i = 0; i < indent_level; i++) {
                        fputs("  ", ofd);
                }
-               fprintf(ofd, "<%s>%s</%s>\n",tag, v, tag);
+               fprintf(ofd, "<%s>%s</%s>\n",tag, tmp_ent, tag);
                xfree(tmp_ent);
        }
 }